\section*{Solution}

\begin{enumerate}

\item Solution to question 1:
\lstinputlisting{src/forward_euler_functor.cpp}

\item Solution to question 2:
\lstinputlisting{src/forward_euler_lambda.cpp}

\end{enumerate}




